package com.study.project.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 告警规则表(Rules)实体类
 *
 * @author makejava
 * @since 2024-07-05 17:47:55
 */
public class Rules implements Serializable {
    private static final long serialVersionUID = 491087024063596320L;
    /**
     * 规则ID
     */
    private Integer ruleId;
    /**
     * 规则名称
     */
    private String ruleName;
    /**
     * 规则的详细描述
     */
    private String description;
    /**
     * 是否开启体动告警
     */
    private Boolean motionAlert;
    /**
     * 是否开启离床告警
     */
    private Boolean bedLeaveAlert;
    /**
     * 心率范围下限
     */
    private Integer heartRateMin;
    /**
     * 心率范围上限
     */
    private Integer heartRateMax;
    /**
     * 呼吸率范围下限
     */
    private Integer respirationRateMin;
    /**
     * 呼吸率范围上限
     */
    private Integer respirationRateMax;
    /**
     * 允许离床时长（min）
     */
    private Integer allowedBedLeaveDuration;
    /**
     * 是否已删除
     */
    private Boolean isDeleted;
    /**
     * 规则创建时间
     */
    private Date createdAt;
    /**
     * 规则更新时间
     */
    private Date updatedAt;
    /**
     * 创建人
     */
    private String createBy;
    /**
     * 更新人
     */
    private String updateBy;
    /**
     * 院舍ID,值为-1表示这个规则为创建院舍时选取的默认规则
     */
    private Integer facilityId;
    /**
     * 责任人_短信_离床异常
     */
    private Boolean responsibleMessageLeaveBed;
    /**
     * 责任人_email_离床异常
     */
    private Boolean responsibleEmailLeaveBed;
    /**
     * 管理员_短信_离床异常
     */
    private Boolean managerMessageLeaveBed;
    /**
     * 管理员_email_离床异常
     */
    private Boolean managerEmailLeaveBed;
    /**
     * 责任人_短信_心率过高异常
     */
    private Boolean responsibleMessageHeartRateHigh;
    /**
     * 责任人_email_心率过高异常
     */
    private Boolean responsibleEmailHeartRateHigh;
    /**
     * 管理员_短信_心率过高异常
     */
    private Boolean managerMessageHeartRateHigh;
    /**
     * 管理员_email_心率过高异常
     */
    private Boolean managerEmailHeartRateHigh;
    /**
     * 责任人_短信_心率过低异常
     */
    private Boolean responsibleMessageHeartRateLow;
    /**
     * 责任人_email_心率过低异常
     */
    private Boolean responsibleEmailHeartRateLow;
    /**
     * 管理员_短信_心率过低异常
     */
    private Boolean managerMessageHeartRateLow;
    /**
     * 管理员_email_心率过低异常
     */
    private Boolean managerEmailHeartRateLow;
    /**
     * 责任人_短信_呼吸率过高异常
     */
    private Boolean responsibleMessageBreathRateHigh;
    /**
     * 责任人_email_呼吸率过高异常
     */
    private Boolean responsibleEmailBreathRateHigh;
    /**
     * 管理员_短信_呼吸率过高异常
     */
    private Boolean managerMessageBreathRateHigh;
    /**
     * 管理员_email_呼吸率过高异常
     */
    private Boolean managerEmailBreathRateHigh;
    /**
     * 责任人_短信_呼吸率过低异常
     */
    private Boolean responsibleMessageBreathRateLow;
    /**
     * 责任人_email_呼吸率过低异常
     */
    private Boolean responsibleEmailBreathRateLow;
    /**
     * 管理员_短信_呼吸率过低异常
     */
    private Boolean managerMessageBreathRateLow;
    /**
     * 管理员_email_呼吸率过低异常
     */
    private Boolean managerEmailBreathRateLow;
    /**
     * 责任人_短信_呼吸弱
     */
    private Boolean responsibleMessageBreathWeak;
    /**
     * 责任人_email_呼吸弱
     */
    private Boolean responsibleEmailBreathWeak;
    /**
     * 管理员_短信_呼吸弱
     */
    private Boolean managerMessageBreathWeak;
    /**
     * 管理员_email_呼吸弱
     */
    private Boolean managerEmailBreathWeak;
    /**
     * 责任人_短信_设备离线
     */
    private Boolean responsibleMessageDeviceOutline;
    /**
     * 责任人_email_设备离线
     */
    private Boolean responsibleEmailDeviceOutline;
    /**
     * 管理员_短信_设备离线
     */
    private Boolean managerMessageDeviceOutline;
    /**
     * 管理员_email_设备离线
     */
    private Boolean managerEmailDeviceOutline;
    /**
     * 持續告警時間
     */
    private Boolean continueAlertTime;
    /**
     * 重複告警間隔時間
     */
    private Boolean repeatAlertDuration;


    public Integer getRuleId() {
        return ruleId;
    }

    public void setRuleId(Integer ruleId) {
        this.ruleId = ruleId;
    }

    public String getRuleName() {
        return ruleName;
    }

    public void setRuleName(String ruleName) {
        this.ruleName = ruleName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Boolean getMotionAlert() {
        return motionAlert;
    }

    public void setMotionAlert(Boolean motionAlert) {
        this.motionAlert = motionAlert;
    }

    public Boolean getBedLeaveAlert() {
        return bedLeaveAlert;
    }

    public void setBedLeaveAlert(Boolean bedLeaveAlert) {
        this.bedLeaveAlert = bedLeaveAlert;
    }

    public Integer getHeartRateMin() {
        return heartRateMin;
    }

    public void setHeartRateMin(Integer heartRateMin) {
        this.heartRateMin = heartRateMin;
    }

    public Integer getHeartRateMax() {
        return heartRateMax;
    }

    public void setHeartRateMax(Integer heartRateMax) {
        this.heartRateMax = heartRateMax;
    }

    public Integer getRespirationRateMin() {
        return respirationRateMin;
    }

    public void setRespirationRateMin(Integer respirationRateMin) {
        this.respirationRateMin = respirationRateMin;
    }

    public Integer getRespirationRateMax() {
        return respirationRateMax;
    }

    public void setRespirationRateMax(Integer respirationRateMax) {
        this.respirationRateMax = respirationRateMax;
    }

    public Integer getAllowedBedLeaveDuration() {
        return allowedBedLeaveDuration;
    }

    public void setAllowedBedLeaveDuration(Integer allowedBedLeaveDuration) {
        this.allowedBedLeaveDuration = allowedBedLeaveDuration;
    }

    public Boolean getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Boolean isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Integer getFacilityId() {
        return facilityId;
    }

    public void setFacilityId(Integer facilityId) {
        this.facilityId = facilityId;
    }

    public Boolean getResponsibleMessageLeaveBed() {
        return responsibleMessageLeaveBed;
    }

    public void setResponsibleMessageLeaveBed(Boolean responsibleMessageLeaveBed) {
        this.responsibleMessageLeaveBed = responsibleMessageLeaveBed;
    }

    public Boolean getResponsibleEmailLeaveBed() {
        return responsibleEmailLeaveBed;
    }

    public void setResponsibleEmailLeaveBed(Boolean responsibleEmailLeaveBed) {
        this.responsibleEmailLeaveBed = responsibleEmailLeaveBed;
    }

    public Boolean getManagerMessageLeaveBed() {
        return managerMessageLeaveBed;
    }

    public void setManagerMessageLeaveBed(Boolean managerMessageLeaveBed) {
        this.managerMessageLeaveBed = managerMessageLeaveBed;
    }

    public Boolean getManagerEmailLeaveBed() {
        return managerEmailLeaveBed;
    }

    public void setManagerEmailLeaveBed(Boolean managerEmailLeaveBed) {
        this.managerEmailLeaveBed = managerEmailLeaveBed;
    }

    public Boolean getResponsibleMessageHeartRateHigh() {
        return responsibleMessageHeartRateHigh;
    }

    public void setResponsibleMessageHeartRateHigh(Boolean responsibleMessageHeartRateHigh) {
        this.responsibleMessageHeartRateHigh = responsibleMessageHeartRateHigh;
    }

    public Boolean getResponsibleEmailHeartRateHigh() {
        return responsibleEmailHeartRateHigh;
    }

    public void setResponsibleEmailHeartRateHigh(Boolean responsibleEmailHeartRateHigh) {
        this.responsibleEmailHeartRateHigh = responsibleEmailHeartRateHigh;
    }

    public Boolean getManagerMessageHeartRateHigh() {
        return managerMessageHeartRateHigh;
    }

    public void setManagerMessageHeartRateHigh(Boolean managerMessageHeartRateHigh) {
        this.managerMessageHeartRateHigh = managerMessageHeartRateHigh;
    }

    public Boolean getManagerEmailHeartRateHigh() {
        return managerEmailHeartRateHigh;
    }

    public void setManagerEmailHeartRateHigh(Boolean managerEmailHeartRateHigh) {
        this.managerEmailHeartRateHigh = managerEmailHeartRateHigh;
    }

    public Boolean getResponsibleMessageHeartRateLow() {
        return responsibleMessageHeartRateLow;
    }

    public void setResponsibleMessageHeartRateLow(Boolean responsibleMessageHeartRateLow) {
        this.responsibleMessageHeartRateLow = responsibleMessageHeartRateLow;
    }

    public Boolean getResponsibleEmailHeartRateLow() {
        return responsibleEmailHeartRateLow;
    }

    public void setResponsibleEmailHeartRateLow(Boolean responsibleEmailHeartRateLow) {
        this.responsibleEmailHeartRateLow = responsibleEmailHeartRateLow;
    }

    public Boolean getManagerMessageHeartRateLow() {
        return managerMessageHeartRateLow;
    }

    public void setManagerMessageHeartRateLow(Boolean managerMessageHeartRateLow) {
        this.managerMessageHeartRateLow = managerMessageHeartRateLow;
    }

    public Boolean getManagerEmailHeartRateLow() {
        return managerEmailHeartRateLow;
    }

    public void setManagerEmailHeartRateLow(Boolean managerEmailHeartRateLow) {
        this.managerEmailHeartRateLow = managerEmailHeartRateLow;
    }

    public Boolean getResponsibleMessageBreathRateHigh() {
        return responsibleMessageBreathRateHigh;
    }

    public void setResponsibleMessageBreathRateHigh(Boolean responsibleMessageBreathRateHigh) {
        this.responsibleMessageBreathRateHigh = responsibleMessageBreathRateHigh;
    }

    public Boolean getResponsibleEmailBreathRateHigh() {
        return responsibleEmailBreathRateHigh;
    }

    public void setResponsibleEmailBreathRateHigh(Boolean responsibleEmailBreathRateHigh) {
        this.responsibleEmailBreathRateHigh = responsibleEmailBreathRateHigh;
    }

    public Boolean getManagerMessageBreathRateHigh() {
        return managerMessageBreathRateHigh;
    }

    public void setManagerMessageBreathRateHigh(Boolean managerMessageBreathRateHigh) {
        this.managerMessageBreathRateHigh = managerMessageBreathRateHigh;
    }

    public Boolean getManagerEmailBreathRateHigh() {
        return managerEmailBreathRateHigh;
    }

    public void setManagerEmailBreathRateHigh(Boolean managerEmailBreathRateHigh) {
        this.managerEmailBreathRateHigh = managerEmailBreathRateHigh;
    }

    public Boolean getResponsibleMessageBreathRateLow() {
        return responsibleMessageBreathRateLow;
    }

    public void setResponsibleMessageBreathRateLow(Boolean responsibleMessageBreathRateLow) {
        this.responsibleMessageBreathRateLow = responsibleMessageBreathRateLow;
    }

    public Boolean getResponsibleEmailBreathRateLow() {
        return responsibleEmailBreathRateLow;
    }

    public void setResponsibleEmailBreathRateLow(Boolean responsibleEmailBreathRateLow) {
        this.responsibleEmailBreathRateLow = responsibleEmailBreathRateLow;
    }

    public Boolean getManagerMessageBreathRateLow() {
        return managerMessageBreathRateLow;
    }

    public void setManagerMessageBreathRateLow(Boolean managerMessageBreathRateLow) {
        this.managerMessageBreathRateLow = managerMessageBreathRateLow;
    }

    public Boolean getManagerEmailBreathRateLow() {
        return managerEmailBreathRateLow;
    }

    public void setManagerEmailBreathRateLow(Boolean managerEmailBreathRateLow) {
        this.managerEmailBreathRateLow = managerEmailBreathRateLow;
    }

    public Boolean getResponsibleMessageBreathWeak() {
        return responsibleMessageBreathWeak;
    }

    public void setResponsibleMessageBreathWeak(Boolean responsibleMessageBreathWeak) {
        this.responsibleMessageBreathWeak = responsibleMessageBreathWeak;
    }

    public Boolean getResponsibleEmailBreathWeak() {
        return responsibleEmailBreathWeak;
    }

    public void setResponsibleEmailBreathWeak(Boolean responsibleEmailBreathWeak) {
        this.responsibleEmailBreathWeak = responsibleEmailBreathWeak;
    }

    public Boolean getManagerMessageBreathWeak() {
        return managerMessageBreathWeak;
    }

    public void setManagerMessageBreathWeak(Boolean managerMessageBreathWeak) {
        this.managerMessageBreathWeak = managerMessageBreathWeak;
    }

    public Boolean getManagerEmailBreathWeak() {
        return managerEmailBreathWeak;
    }

    public void setManagerEmailBreathWeak(Boolean managerEmailBreathWeak) {
        this.managerEmailBreathWeak = managerEmailBreathWeak;
    }

    public Boolean getResponsibleMessageDeviceOutline() {
        return responsibleMessageDeviceOutline;
    }

    public void setResponsibleMessageDeviceOutline(Boolean responsibleMessageDeviceOutline) {
        this.responsibleMessageDeviceOutline = responsibleMessageDeviceOutline;
    }

    public Boolean getResponsibleEmailDeviceOutline() {
        return responsibleEmailDeviceOutline;
    }

    public void setResponsibleEmailDeviceOutline(Boolean responsibleEmailDeviceOutline) {
        this.responsibleEmailDeviceOutline = responsibleEmailDeviceOutline;
    }

    public Boolean getManagerMessageDeviceOutline() {
        return managerMessageDeviceOutline;
    }

    public void setManagerMessageDeviceOutline(Boolean managerMessageDeviceOutline) {
        this.managerMessageDeviceOutline = managerMessageDeviceOutline;
    }

    public Boolean getManagerEmailDeviceOutline() {
        return managerEmailDeviceOutline;
    }

    public void setManagerEmailDeviceOutline(Boolean managerEmailDeviceOutline) {
        this.managerEmailDeviceOutline = managerEmailDeviceOutline;
    }

    public Boolean getContinueAlertTime() {
        return continueAlertTime;
    }

    public void setContinueAlertTime(Boolean continueAlertTime) {
        this.continueAlertTime = continueAlertTime;
    }

    public Boolean getRepeatAlertDuration() {
        return repeatAlertDuration;
    }

    public void setRepeatAlertDuration(Boolean repeatAlertDuration) {
        this.repeatAlertDuration = repeatAlertDuration;
    }

}

